#include "lh_edit.h"



void LH_EditEve(void *widget)
{
    LH_WIDGET *DilgFoc = widget;
    
    if (DilgFoc->WidFlags & LH_WIDREDR)     
    {  
        if(DilgFoc->WidFlags & LH_SHOWHC)
        {
            if (*DilgFoc->Path1 != LH_NULL)
                LH_ShowBmpAt(DilgFoc->Axis_X, DilgFoc->Axis_Y, DilgFoc->Path1);
        }
        else
            if (*DilgFoc->Path2 != LH_NULL)
                LH_ShowBmpAt(DilgFoc->Axis_X, DilgFoc->Axis_Y, DilgFoc->Path2);
        
        LH_ShowStrAt(DilgFoc->Axis_X, DilgFoc->Axis_Y, DilgFoc->PData, DilgFoc->WidColor);
    }
}


